#ifndef __ENCODER_H
#define __ENCODER_H

#define DIR_L P53
#define COUNT_L CTIM3_P04

#define DIR_R P35
#define COUNT_R CTIM0_P34

void encoder_init(void);
void encoder_exe(void);
void encoder_print(void);

extern int16 speed_left,speed_right;

#endif /*__ENCODER_H */